#!/bin/bash
##设置相关服务开机自启
systemctl enable $service
echo 已设置$service开机自启